package cn.south.campus.admin.campus.model.enums;

import lombok.Getter;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/12/5 15:22
 */
@Getter
public enum ComplaintEnums {
    //0:已撤销 1:待发布 2:已发布
    CANCEL(0, "已撤销"),
    WAIT(1, "待发布"),
    PUBLISH(2, "已发布");
    private final Integer code;
    private final String desc;

    ComplaintEnums(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Getter
    public enum BizType {
        //0:沸点 1:评论
        COMPLAINT(0, "沸点"),
        COMMENT(1, "评论");
        private final Integer code;
        private final String desc;

        BizType(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }
    }

    @Getter
    public enum CountType {
        //0:点赞 1:点踩
        LIKE(0, "点赞"),
        DISLIKE(1, "点踩");
        private final Integer code;
        private final String desc;

        CountType(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }
    }
}
